AddPackageResult Constructor (PackageItemIdentifier, ValidationResults)

Create an AddPackageResult object to encapsulate the results of adding a package.

Parent Type: AddPackageResult

Namespace: Microsoft.LearningComponents.Storage

Assembly: Microsoft.LearningComponents.Storage.dll

Syntax
C#

public AddPackageResult (
PackageItemIdentifier packageId,
ValidationResults log

)

Parameters

packageId

The packageId of the package that was added to the store. This value is not validated to ensure that it represents a package in LearningStore.

log

The log of errors and warnings that occurred during the course of adding the package to the store. This may not be null.

Exceptions
Exception type Condition
ArgumentNullException

Thrown if packageId or log are not provided.